package cn.wp.ewallet.wallet.extension.constant;

/**
 * Wallet
 * create by zhangyongli
 */
public class EwalletWalletConstant {

    /**
     * 钱包类型
     * 2000-公户
     */
    public static final String WALLET_TYPE_PUBLIC = "2000";

    /**
     * 钱包类型
     * 1000-私户
     */
    public static final String WALLET_TYPE_PRIVATE = "1000";

    /**
     * 币种
     * 3000 - 以太坊
     */
    public static final String MONEY_TYPE_ETH = "3000";

    /**
     * 代币币种
     * 2000-SHQC
     */
    public static final String MONEY_TYPE_SHQC = "2000";

    /**
     * 代币币种
     * 1000-USDT
     */
    public static final String MONEY_TYPE_USDT = "1000";


    /**
     * 代币账户名
     * SHQC
     */
    public static final String ACCOUNT_NAME_SHQC = "SHQC账户";

    /**
     * 代币账户名
     * USDT
     */
    public static final String ACCOUNT_NAME_USDT = "USDT账户";

    /**
     * 账户变动原因是 转账
     */
    public static final String ACCOUNT_CHARGE_CASE_TRANSFER = "1000";


    /**
     * 账户变动原因是 转入
     */
    public static final String ACCOUNT_CHARGE_CASE_CHANGE_INTO = "2000";

    /**
     * 账户变动原因是 充值
     */
    public static final String ACCOUNT_CHARGE_CASE_RECHARGE = "3000";

    /**
     * 账户变动原因是兑换
     */
    public static final String ACCOUNT_CHARGE_CASE_EXCHANGE = "4000";
    /**
     * 账户变动原因是提币
     */
    public static final String ACCOUNT_CHARGE_CASE_WITHFRAW_MONEY = "5000";

    /**
     * 账户变动的原因是理财收入
     */
    public static final String ACCOUNT_CHARGE_CASE_FINANCIAL_INCOME="6000";

    /**
     * 账户变动的原因是-自动归集
     */
    public static final String ACCOUNT_CHARGE_CASE_AUTO_COLLECT="7000";

    /**
     * 账户变动的原因是其他
     */
    public static final String ACCOUNT_CHARGE_CASE_OTHERS="9000";

    /**
     * 转账成功、充值成功、兑换成功、提币成功
     */
    public static final String ACCOUNT_CHANGE_SUCCESS = "1000";
    /**
     * 转账失败、充值失败、兑换失败、提币失败
     */
    public static final String ACCOUNT_CHANGE_FAILED = "2000";

    /**
     * 转账操作结果
     * 1000-已转待确认
     */
    public static final String TRANSFER_OPER_RESULT_WAITING = "1000";
    /**
     * 转账操作结果
     * 2000-已转成功
     */
    public static final String TRANSFER_OPER_RESULT_SUCCESS = "2000";
    /**
     * 转账操作结果
     * 3000-转账失败
     */
    public static final String TRANSFER_OPER_RESULT_FAILED = "3000";

    /**
     * 申请单类型字典
     */
    // TODO 字典值没有配置
    public static final String REQ_ORDER_TYPE = "";

    /**
     * 申请单类型
     * 1000-提币申请单
     */
    public static final String REQ_ORDER_TYPE_MENTIONMONEY = "1000";

    /**
     * 申请单类型
     * 2000-兑换申请单
     */
    public static final String REQ_ORDER_TYPE_EXCHANGEMONEY = "2000";
    /**
     * 申请单状态
     * 1000-待处理(处理中）
     */
    public static final String REQ_ORDER_STATUS_PENDING = "1000";

    /**
     * 申请单状态
     * 2000-处理完成
     */
    public static final String REQ_ORDER_STATUS_FINISH = "2000";

    /**
     * 账户类型
     * 1000-可用资金账户
     */
    public static final String ACCOUNT_TYPE_AVAILABLE = "1000";

    /**
     * 账户类型
     * 2000-理财账户
     */
    public static final String ACCOUNT_TYPE_REGULAR = "2000";

    /**
     * 账户类型
     * 3000-天天盈账户
     */
    public static final String ACCOUNT_TYPE_CURRENT = "3000";

    /**
     * 账户类型
     * 4000-链上资产
     */
    public static final String ACCOUNT_TYPE_WEB = "4000";

    /**
     * 兑换条件类型
     * 1000-天使轮
     */
    public static final String CONVER_TYPE_ANGEL = "1000";

    /**
     * 兑换条件类型
     * 2000-基石轮
     */
    public static final String CONVER_TYPE_STONE = "2000";


    /**
     * SHQC 单位 转换 10*5
     */
    public static final int SHQC_PRECISION_UINT =5;


    /**
     * 产品类型是  理财产品
     */
    public static final String PRODUCT_TYPE_REGULAR="1000";
    /**
     * 产品类型是  天天盈
     */
    public static final String PRODUCT_TYPE_CURRENT="2000";

    /**
     * 计息状态
     * 计息中
     */
    public static final String COUNT_MONEY_STATUS_CALCULATING="1000";
    /**
     * 待计算
     */
    public static final String COUNT_MONEY_STATUS_BE_CALCULATED="2000";
    /**
     * 正常结束
     */
    public static final String COUNT_MONEY_STATUS_END_NORMALLY="3000";
    /**
     * 提前赎回
     */
    public static final String COUNT_MONEY_STATUS_EARLY_REDEMPTION="4000";

    /**
     * 自动归集阈值字典ID
     * "1001"
     */
    public static final String AUTO_COLLECT_DICT = "1001";

    /**
     * 自动归集阈值字典编码-阈值
     * max_value"
     */
    public static final String AUTO_COLLECT_DICT_CODE_MAX_VALUE = "max_value";

    /**
     * 自动归集阈值字典编码-阈值
     * max_value_shqc"
     */
    public static final String AUTO_COLLECT_DICT_CODE_MAX_VALUE_SHQC = "max_value_shqc";

    /**
     * 自动归集阈值字典编码-频次
     * time_freq"
     */
    public static final String AUTO_COLLECT_DICT_CODE_TIME_FREQ = "time_freq";

    /**
     * 手续费字段ID
     */
    public static final String FEE_DIC_ID = "1000";

    /**
     * 转账搜续费
     */
    public static final String FEE_TRANS = "trans_fee";

    /**
     * 提币手续费
     */
    public static final String FEE_MENTION = "mention_fee";

    /**
     * 转账交易状态
     * 1=成功，其他均失败
     */
    public static final int TRANSACTION_STATUS_SUCCESS = 1;

    /**
     * 交易验证失败异常码
     */
    public static String CHECK_TRANSPWD_FAILED_CODE = "100009";

    /**
     * 交易验证码为空
     */
    public static String CHECK_TRANSPWD_NULL_CODE = "1000091";

    /**
     * 地址错误
     */
    public static String CHECK_ADDRESS_FAILED_CODE = "100008";

    /**
     * 账户余额不足
     */
    public static String CHECK_AMOUNT_FAILED_CODE = "100007";

    /**
     * 地址不存在
     */
    public static String CHECK_ADDRESS_NOT_EXIST_CODE = "100006";

    /**
     * 账户余额操作类型-减
     */
    public static int ACCOUNT_SUBTRACT = -1;

    /**
     * 账户余额操作类型-加
     */
    public static int ACCOUNT_ADD = 1;



    /**
     * 统计类型-1000-SHQC转账手续费
     */
    public static String STAT_TYPE_SHQC_TRANS_ACCOUNT_SERVICE_CHARGE = "1000";

    /**
     * 统计类型-1100-USDT提币手续费
     */
    public static String STAT_TYPE_USDT_MENTION_SERVICE_CHARGE = "1100";

    /**
     * 统计类型-1200-SHQC提币手续费
     */
    public static String STAT_TYPE_SHQC_MENTION_SERVICE_CHARGE = "1200";

    /**
     * 统计类型-1300-USDT归集统计
     */
    public static String STAT_TYPE_USDT_COLLECT_STAT = "1300";

    /**
     * 统计类型-1400-SHQC归集统计
     */
    public static String STAT_TYPE_SHQC_COLLECT_STAT = "1400";

    /**
     * 统计类型-1500-转用户ETH统计
     */
    public static String STAT_TYPE_CHANGE_ETH_STAT = "1500";

    /**
     * 统计类型-1600-中央账户支出矿工费统计
     */
    public static String STAT_TYPE_CENTER_EXPEND_STAT = "1600";



    /**
     * 操作类型
     * 1000-归集转账（归集时用户地址向中央账户转账）
     */
    public static String TRANS_LOG_TYPE_AUTO_COLLECT = "1000";

    /**
     * 操作类型
     * 2000-归集矿工费（归集时中央账户转账给用户地址矿工费ETH）
     */
    public static String TRANS_LOG_TYPE_AUTO_COLLECT_GAS = "2000";

    /**
     * 操作类型
     * 3000-提币转账（提币时中央账户给用户提供地址转账）
     */
    public static String TRANS_LOG_TYPE_MENTION_MONEY = "3000";

    /**
     * 操作类型
     * 4000-系统内部转账（系统内部SHQC之间转账）
     */
    public static String TRANS_LOG_TYPE_SYSTEM = "4000";


}
